package com.yayo.mangement.authentication.enums;

import lombok.Getter;

public enum PropertyTypeEnum {
    BASE_INT("int", ""),
    BASE_BOOLEAN("boolean", ""),
    BASE_FLOAT("float", ""),
    BASE_DOUBLE("double", ""),
    STRING("String", ""),
    LONG("Long", ""),
    INTEGER("Integer", ""),
    FLOAT("Float", ""),
    DOUBLE("Double", ""),
    BOOLEAN("Boolean", ""),
    BYTE_ARRAY("byte[]", ""),
    CHARACTER("Character", ""),
    OBJECT("Object", ""),
    DATE("Date", "java.util.Date"),
    TIME("Time", "java.sql.Time"),
    BLOB("Blob", "java.sql.Blob"),
    CLOB("Clob", "java.sql.Clob"),
    TIMESTAMP("Timestamp", "java.sql.Timestamp"),
    BIG_INTEGER("BigInteger", "java.math.BigInteger"),
    BIG_DECIMAL("BigDecimal", "java.math.BigDecimal"),
    LOCAL_DATE("LocalDate", "java.time.LocalDate"),
    LOCAL_TIME("LocalTime", "java.time.LocalTime"),
    LOCAL_DATE_TIME("LocalDateTime", "java.time.LocalDateTime");

    @Getter
    private final String type;
    @Getter
    private final String pkg;

    PropertyTypeEnum(String type, String pkg) {
        this.type = type;
        this.pkg = pkg;
    }

}

